for nproc in 1 2 4 8 16 32
do

dirname="/home/record/nfs-dbench/$nproc"
mkdir -p $dirname 

rm -rf /nfs/*
umount /nfs && rmmod nfs && mount -t nfs 10.10.170.24:/nfs /nfs
/home/test/dbench-4.0/dbench -D/nfs -t1800 -c /home/test/dbench-4.0/client.txt $nproc > $dirname/result
cp /proc/self/mountstats  $dirname
done

